<?php

return array(
    'preLoad' => array(
        'app' => array(
            'BAppCommon' => array(
            )
        )
    ),
    'appMeta' => array(
        'appName' => 'weMember',
        'description' => 'weMember is an application for publish and manage weMember',
        'operations' => array(
            'eventPanel' => array('displayName' => '功能面板',
                //'class'=>'BSBookingFacilityOperation',
                'permit' => array(BPermit::AllowAccess => BRole::All_Roles)
            ),
            /*
            'member' => array('displayName' => '机构成员',
                'permit' => array(
                    BPermit::AllowAccess => array(BRole::Role_Space_Admin,
                        BRole::Role_Space_Member)
                ),
          
            ),
            'admin' => array('displayName' => '系统管理员',
                'permit' => array(BPermit::AllowAccess => BRole::Role_Space_Admin),
             * 
             */
            /*
              'startScreen' => array(
              'views' => array(
              'eventHome' => 'admin')
              )
             * 
             */
            //)
        )
    /* means visible to all Space except personal Space 
     */
    ),
    'db' => array(
        'connection' => array(
            'default' => 'weMember',
            'localdb' => array(
                'connectString' => 'mysql:host=localhost;dbname=bilynapp',
                'user' => 'blndba',
                'password' => 'blnpwd'
            ),
            'weMember' => array(
                'connectionString' => 'mysql:host=localhost;dbname=weMember',
                'emulatePrepare' => true,
                'username' => 'test',
                'password' => 'password',
                'charset' => 'utf8',
                'tablePrefix' => 'tbl_',
                'enableParamLogging' => true,
            ),
        )
    )
);
?>
